package com.albaba.designpattern.adapter.text_001;

/**
 * @author zx
 * @version 1.0
 * @description TODO
 * @date 2025/2/20 21:58
 */
public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();
        SDCard sdCard = new SDCardImpl();
        String msg = computer.read(sdCard);
        System.out.println(msg);
        System.out.println("====================");

        SDAdapterTF adapterTF = new SDAdapterTF();
        String msg1 = computer.read(adapterTF);
        System.out.println(msg1);
    }

}
